#!/usr/bin/env python
#-*- coding:utf-8 -*-
__author__ = 'weihaoxuan'
from django.contrib import admin
import models
# Register your models here.
class device_config(admin.ModelAdmin):
    list_display = ('graphid','name')
    search_fields = ('name',)


class Message_conf(admin.ModelAdmin):
    list_display = ('description',)
    search_fields = ('description',)
class Download_conf(admin.ModelAdmin):
    list_display = ('headImg',)
    search_fields = ('headImg',)
admin.site.register(models.Device,device_config)
admin.site.register(models.Message,Message_conf)
admin.site.register(models.Download,Download_conf)